﻿using System.Runtime.Serialization;

namespace Ping.Core
{
	/// <summary>
	/// The base class for all data sent via pakets.
	/// </summary>
	[DataContract]
	public abstract class Data
	{
		/// <summary>
		/// Id of this data-packet used to match requests to responses.
		/// </summary>
		[DataMember] public int Id;
	}
}